import requireThemes from './themeFiles'
const _default = {
  click: './sound/default/click.mp3',
  highLight: './sound/default/highLight.mp3',
  outScene: './sound/default/outScene.mp3',
  words: './sound/default/words.mp3',
  bgm: './sound/default/bgm.mp3',
  number: './sound/default/number.mp3',
  messageSuccess: './sound/default/messageSuccess.mp3',
  messageInfo: './sound/default/messageSuccess2.mp3',
  messageError: './sound/default/messageError.mp3',
  messageWarning: './sound/default/messageWarning.mp3',
  noticeSuccess: './sound/default/noticeSuccess.mp3',
  noticeWarning: './sound/default/noticeWarning.mp3',
  noticeError: './sound/default/noticeError.mp3',
  modalSuccess: './sound/default/noticeSuccess.mp3',
  modalWarning: './sound/default/noticeWarning.mp3',
  modalError: './sound/default/noticeError.mp3',
  loginOpen: './sound/default/noticeSuccess.mp3',
  loginClose: './sound/default/noticeError.mp3',
  matched: './sound/default/matched.mp3'
}
const themes = { default: _default }
requireThemes.keys().forEach(fileName => {
  let theme = requireThemes(fileName).default
  let key = fileName
    .split('/')
    .pop()
    .replace(/\.\w+$/, '')
  themes[key] = { ..._default, ...theme }
})
export default themes
